HTML5_TreeBuilder D

Total Complexity 797
Dependencies 4
Dependents 2
Total lines 3,807
Lines of code 2,060
Logical lines of code 1,369
Comment lines 1,197
Methods 32
Properties 22

Methods 32

Method Rating Maintainability Complexity Lines of code
emitToken()
D
0
653 1,585
resetInsertionMode()
B
41 19 55
setupContext()
A
48 14 33
elementInScope()
A
49 14 26
reconstructActiveFormattingElements()
A
47 12 36
getFosterParent()
A
56 9 16
insertForeignElement()
S
52 7 25
adjustSVGAttributes()
S
38 3 72
insertElement()
S
58 6 15
getElementCategory()
S
61 5 12
insertText()
S
62 5 11
strConst()
S
60 4 13
adjustForeignAttributes()
S
53 3 22
getAttr()
S
65 4 8
printActiveFormattingElements()
S
63 4 9
save()
S
63 3 12
closeCell()
S
63 3 11
getCurrentTable()
S
66 3 8
clearStackToTableContext()
S
64 3 10
fosterParent()
S
65 3 9
clearTheActiveFormattingElementsUpToTheLastMarker()
S
66 3 9
adjustMathMLAttributes()
S
67 3 8
appendToRealParent()
S
66 3 8
printStack()
S
67 2 7
generateImpliedEndTags()
S
66 2 7
__construct()
S
67 1 8
insertCDATAElement()
S
71 1 6
insertRCDATAElement()
S
71 1 6
currentTableIsTainted()
S
80 1 3
insertComment()
S
76 1 4
getQuirksMode()
S
82 1 3
processWithRulesFor()
S
79 1 3